const routes = [
  {
    path: '/',
    redirect: '/home',
    component: () => import('/@/layout/basic/index.vue'),
    children: [
      {
        path: 'home',
        component: () => import('/@/views/home/index.vue'),
        meta: {
          title: 'tabbar.home',
          keepAlive: true,
        },
      },
      {
        path: 'map',
        component: () => import('/@/views/map/index.vue'),
        meta: {
          title: 'tabbar.map',
          keepAlive: true,
        },
      },
      {
        path: 'control',
        component: () => import('/@/views/control/index.vue'),
        meta: {
          title: 'tabbar.control',
          keepAlive: true,
        },
      },
      {
        path: 'history',
        component: () => import('/@/views/history/index.vue'),
        meta: {
          title: 'tabbar.history',
          keepAlive: true,
        },
      },
      {
        path: 'demo',
        component: () => import('/@/views/demo/index.vue'),
        meta: {
          title: 'tabbar.demo',
          keepAlive: true,
        },
      },
      {
        path: 'display',
        component: () => import('/@/views/display/index.vue'),
        meta: {
          title: 'tabbar.display',
          keepAlive: true,
        },
      },     
      {
        path: 'chart',
        component: () => import('/@/views/chart/index.vue'),
        meta: {
          title: 'tabbar.chart',
          keepAlive: true,
        },
      },         
    ],
  },
];

export default routes;
